package com.cxj.link.task;

import java.lang.reflect.Array;

import com.cxj.link.view.AbstractBoard;
import com.cxj.link.vo.GameConfig;

public class Level3 extends AbstractBoard {
    @Override
    protected int[][] initPieces(GameConfig paramGameConf) {
        int j = paramGameConf.getXSize();
        int k = paramGameConf.getYSize();
        int[] arrayOfInt = new int[2];
        arrayOfInt[0] = j;
        arrayOfInt[1] = k;
        int[][] arrayOfInt1 = (int[][]) Array.newInstance(Integer.TYPE, arrayOfInt);
        for (j = 0; j < arrayOfInt1.length; j++)
            for (int i = 0; i < arrayOfInt1[j].length; i++)
                arrayOfInt1[j][i] = 1;
        arrayOfInt1[1][0] = 0;
        arrayOfInt1[1][1] = 0;
        arrayOfInt1[1][2] = 0;
        arrayOfInt1[1][3] = 0;
        arrayOfInt1[1][4] = 0;
        arrayOfInt1[1][5] = 0;
        arrayOfInt1[1][6] = 0;
        arrayOfInt1[3][0] = 0;
        arrayOfInt1[3][1] = 0;
        arrayOfInt1[3][2] = 0;
        arrayOfInt1[3][3] = 0;
        arrayOfInt1[3][4] = 0;
        arrayOfInt1[3][5] = 0;
        arrayOfInt1[3][6] = 0;
        arrayOfInt1[5][0] = 0;
        arrayOfInt1[5][1] = 0;
        arrayOfInt1[5][2] = 0;
        arrayOfInt1[5][3] = 0;
        arrayOfInt1[5][4] = 0;
        arrayOfInt1[5][5] = 0;
        arrayOfInt1[5][6] = 0;
        return arrayOfInt1;
    }
}